<div [style.width.rem]="18">
  <x-slider [data]="data"> </x-slider>
</div>
<br />
<div [style.height.rem]="10">
  <x-slider [data]="data" layout="column"> </x-slider>
</div>
